<?php

/**
 * 直播海报
 */
Route::get('entity/asset/vlive/vcposters', ['as'=> 'entity.asset.vlive.vcposters.index', 'uses' => 'Entity\Asset\Vlive\VcposterController@index']);
Route::post('entity/asset/vlive/vcposters', ['as'=> 'entity.asset.vlive.vcposters.store', 'uses' => 'Entity\Asset\Vlive\VcposterController@store']);
Route::get('entity/asset/vlive/vcposters/create', ['as'=> 'entity.asset.vlive.vcposters.create', 'uses' => 'Entity\Asset\Vlive\VcposterController@create']);
Route::put('entity/asset/vlive/vcposters/{vcposters}', ['as'=> 'entity.asset.vlive.vcposters.update', 'uses' => 'Entity\Asset\Vlive\VcposterController@update']);
Route::patch('entity/asset/vlive/vcposters/{vcposters}', ['as'=> 'entity.asset.vlive.vcposters.update', 'uses' => 'Entity\Asset\Vlive\VcposterController@update']);
Route::delete('entity/asset/vlive/vcposters/{vcposters}', ['as'=> 'entity.asset.vlive.vcposters.destroy', 'uses' => 'Entity\Asset\Vlive\VcposterController@destroy']);
Route::get('entity/asset/vlive/vcposters/{vcposters}', ['as'=> 'entity.asset.vlive.vcposters.show', 'uses' => 'Entity\Asset\Vlive\VcposterController@show']);
Route::get('entity/asset/vlive/vcposters/{vcposters}/edit', ['as'=> 'entity.asset.vlive.vcposters.edit', 'uses' => 'Entity\Asset\Vlive\VcposterController@edit']);

/**
 * 直播添加, 编辑, 删除EPG信息
 */
// 列表
Route::get('entity/asset/vlive/vcposters/vchan/{vchan_id}', ['as'=> 'entity.asset.vlive.vcposters.vchan.index', 'uses' => 'Entity\Asset\Vlive\VcposterController@vchanIndex']);
// 保存
Route::post('entity/asset/vlive/vcposters/vchan/{vchan_id}', ['as'=> 'entity.asset.vlive.vcposters.vchan.store', 'uses' => 'Entity\Asset\Vlive\VcposterController@vchanStore']);
// 新增视图
Route::get('entity/asset/vlive/vcposters/vchan/{vchan_id}/create', ['as'=> 'entity.asset.vlive.vcposters.vchan.create', 'uses' => 'Entity\Asset\Vlive\VcposterController@vchanCreate']);
// 更新
Route::put('entity/asset/vlive/vcposters/vchan/{vchan_id}/{vcposters}', ['as'=> 'entity.asset.vlive.vcposters.vchan.update', 'uses' => 'Entity\Asset\Vlive\VcposterController@vchanUpdate']);
Route::patch('entity/asset/vlive/vcposters/vchan/{vchan_id}/{vcposters}', ['as'=> 'entity.asset.vlive.vcposters.vchan.update', 'uses' => 'Entity\Asset\Vlive\VcposterController@vchanUpdate']);
// 删除
Route::delete('entity/asset/vlive/vcposters/vchan/{vchan_id}/{vcposters}', ['as'=> 'entity.asset.vlive.vcposters.vchan.destroy', 'uses' => 'Entity\Asset\Vlive\VcposterController@vchanDestroy']);
// 编辑视图
Route::get('entity/asset/vlive/vcposters/vchan/{vchan_id}/{vcposters}/edit', ['as'=> 'entity.asset.vlive.vcposters.vchan.edit', 'uses' => 'Entity\Asset\Vlive\VcposterController@vchanEdit']);
